package com.his.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

/**
 * 联系方式 form
 * @author mxlne
 *
 */
public class ConnectForm extends ActionForm {

	private String phone;

	private Integer hid;

	private String address;

	private String addimg;

	private String busLine;
	
	private FormFile pirture;

	/** 
	 * Method validate 表单验证
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return null;
	}

	/** 
	 * Method reset 表单重置
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getHid() {
		return hid;
	}

	public void setHid(Integer hid) {
		this.hid = hid;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddimg() {
		return addimg;
	}

	public void setAddimg(String addimg) {
		this.addimg = addimg;
	}

	public String getBusLine() {
		return busLine;
	}

	public void setBusLine(String busLine) {
		this.busLine = busLine;
	}

	public FormFile getPirture() {
		return pirture;
	}

	public void setPirture(FormFile pirture) {
		this.pirture = pirture;
	}
 
}